package com.haoshuang.zhouzhoubang.model.bean


import androidx.annotation.Keep

/**
 * 首页数据
 * @property applause_rate String? 好评率
 * @property avatar String? 头像
 * @property nickname String? 昵称
 * @property order_total String? 订单总数
 * @property order_total_amount String?    营业额
 * @property refund_order_count String? 售后数量
 * @property rework_order_count String? 返工数量
 * @property service_order_count String? 待服务订单数
 * @property status String? 门店入驻状态 -1：未入驻 0：已入驻待审核 1：通过 2：拒绝 3：未人脸 4：已人脸 5：未签合同 6：已签合同 7：未缴费 8：已缴费
 * @property take_order_count String? 待抢单数量
 * @property total_income String? 总收入
 * @property work_order_count String? 进行中数量
 * @property sys_notice MutableList<SystemNotice>? 系统公告
 * @constructor
 */
@Keep
data class HomeDataBean(
    val applause_rate: String?,
    val avatar: String?,
    val nickname: String?,
    val order_total: String?,
    val order_total_amount: String?,
    val refund_order_count: String?,
    val rework_order_count: String?,
    val service_order_count: String?,
    val status: String?,
    val take_order_count: String?,
    val total_income: String?,
    val work_order_count: String?,
    val sys_notice: MutableList<SystemNotice>?,
    val fail_msg: String?,
    val goods_order: GoodsOrder?, // 商城订单数量
){
    /**
     * 系统公告
     * @property id String?
     * @property title String?
     * @property detail_url String?
     * @constructor
     */
    data class SystemNotice(
        val id: String?,
        val title: String?,
        val detail_url: String?,
    )

    /**
     * 商城订单数量
     */
    data class GoodsOrder(
        val unpay_goods_order_count: Int,
        val wait_goods_order_count: Int,
        val received_goods_order_count: Int,
        val finish_goods_order_count: Int,
        val after_sales_goods_order_count: Int,
    )
}